#include<stdio.h>
#include<string.h>        

  typedef struct AA
  {
         int b1:5;
         int b2:2;
  }AA;

void case1( char a[] )
{
	printf("%d\n\n", sizeof(a));

	return ;
}

int main(void)
{
	char a[1000];
	char *b = NULL;
	int i;
	int len=0;
	
	char arry[] = {0};

	b = malloc( sizeof( char * ) * 16 );

	printf( "sizeof( b ) == [%d].\n", sizeof( b ) );

	printf("sizeof(AA) %d\n\n", sizeof(AA));

	printf(" char arry[] size [ %d ].\n ", sizeof( arry ));

	case1(arry);

	printf("%d %d\n",strlen(a), sizeof(a));	

	for (i=0;i<1000;i++) {
		a[i]=-1-i;
	}


	printf("%d %d\n",strlen(a), sizeof(a));        

	printf("\n\na=\n");
	for (i=0;i<1000;i++) {
		if (a[i]=='\0') {
			printf("Fuck %d\n",a[i]);
			break;
		}
		else {
			printf("%d,",a[i]);
			len++;
		}
	}
	printf("\n\nlen=%d\n",len);
	getchar();
	return 0;
}

